module.exports = {
    "use element": async function(browser) {
        browser.url("https://elementary.io/");

        const elementResult = await browser.element("css selector", "button#download");
        elementResult.click();
        console.log(elementResult);
    },
    'es6 async demo Test': async function(browser) {
        browser.url("http://tutorials.actionqa.com/nwind/element.html");
        const result = await browser.element('css selector', '#some-button');
        console.log('result value is:', result);
    },
    'demo Test' : function(browser) {
        browser.url("http://tutorials.actionqa.com/nwind/element.html");
        browser.element('css selector', 'body', function(result) {
          console.log(result)
        });
    }
};